package ldh.im.web.constant;

import ldh.common.mybatis.ValuedEnum;

public enum LogType implements ValuedEnum<Byte> {
    change_password((byte)1, "修改密码"),
    create_user((byte)2, "创建用户"),
    edit_user((byte)3, "编辑用户"),
    delete_user((byte)4, "删除用户"),
    create_client((byte)5, "创建客户端"),
    edit_client((byte)6, "编辑客户端"),
    ;

    private Byte value;
    private String desc;

    private LogType(Byte value, String desc){
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Byte getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
